﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SchemaGraph.Interfaces;
using SchemaGraph.Interfaces.Vertexes;
using SchemaGraph.Interfaces.Edges;
using SchemaGraph.Vertexes;

namespace SchemaGraph.Edges
{
    public class DerivationEdge : GraphBase.Edge, IDerivationEdge
    {
        public DerivationEdge(DatatypeVertex parent, DatatypeVertex child)
            : base(parent, child)
        {
        }

        #region IDerivationEdge Members

        public new IDatatypeVertex IncomingVertex
        {
            get { return (IDatatypeVertex)base.IncomingVertex; }
        }

        public new IDatatypeVertex OutgoingVertex
        {
            get { return (IDatatypeVertex)base.OutgoingVertex; }
        }

        #endregion
    }
}
